package com.rui.study.commons.model;

import lombok.Getter;

@Getter
public enum StatusCode implements GlobalStatus {
    SUCCEED                         ("00000000", "success"),
    ILLEGAL_PARAMETER               ("22222222", "非法参数"),
    SYSTEM_EXCEPTION                ("99999999", "系统异常"),
    ;

    private String status;

    private String message;

    StatusCode(String status, String message) {
        this.status = status;
        this.message = message;
    }
}
